﻿using System;
using System.Data;
using Npgsql;

using BizElements.Core;
using BizElements.Core.ProviderComponents;

namespace BizElements.Core.PostgreSql
{
    sealed class PostgreSqlDataAdapterBuilder : IDataAdapterBuilder
    {
        public IDataAdapter BuildAdapter(IDbCommand cmd)
        {
            return new NpgsqlDataAdapter((NpgsqlCommand)cmd);
        }
    }
}
